#include <iostream>

using namespace std;

inline void swap(int& a, int& b) {
	int temp = a;
	a = b;
	b = temp;
}

int main(void)
{
	int b = 10, a = 5;
	cout << "Input: [" << a << ", " << b << "]" << endl;
	swap(a,b);
	cout << "Output: [" << a << "," << b << "]" << endl;;

	return 0;
}
